package com.hzy.admin.repository.entity.system;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author hzy
 * @since 2020-04-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class SysMenu extends BaseModel {

    public SysMenu() {
        this.isShow = 1;
        this.isClose = 1;
    }

    private static final long serialVersionUID = 1L;

    private Integer num;

    private String name;

    private String url;

    private String icon;

    @TableField("parentId")
    private String parentId;

    /**
     * 1 是 0 否
     */
    @TableField("isShow")
    private Integer isShow;

    /**
     * 1 是 0 否
     */
    @TableField("isClose")
    private Integer isClose;

}
